how to save command output in a file using powershell